<?php
namespace app\admin\model;
use think\Model;
class AdminUser extends Model
{
	public function getAdminStatusAttr($v)
	{
		$status = ['1'=>'已启用','2'=>'已停用'];
		return $status[$v];
	}
	public function getAdminRegtimeAttr($v)
	{
		return date('Y-m-d H:i:s',$v);
	}
}
